package com.sailing.core.demo.doutresolving;

public class JoyOfHex {
	public static void main(String[] args) {
		String hex = Integer.toHexString(-8999999);
		System.out.println(hex);
		System.out.println(Integer.parseInt(hex, 16));
		//System.out.println(Integer.parseInt("0xcafebabe", 16));
		System.out.println(Long.toHexString(0x100000000L + 0xcafebabe));
	}
}
